package com.lgc.javathread.joinTest.test2;

import com.lgc.javathread.joinTest.test2.JoinThread;

public class JoinTest {
    public static void main(String[] args) throws InterruptedException {
        JoinThread j1=new JoinThread("小李",null);
        JoinThread j2=new JoinThread("小红",j1);
        JoinThread j3=new JoinThread("小军",j2);
        j1.start();
        j2.start();
        j3.start();
    }
}
